package com.git.contractmanagement.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.git.contractmanagement.entity.User;
import org.springframework.stereotype.Service;

@Service
public interface UserService extends IService<User>{
    User login(String username, String password); //登录
    String getRoleByUserId(Long userId); //根据用户id获取角色
}
